Learn R Programming

reutils (version 0.2.2)

[,einfo,ANY,missing-method: EInfo accessors

Description

Extract parts of a parsed einfo object.

Usage

"["(x, i, j)
"[["(x, i)

Arguments

x
An einfo object.
i
Numeric or character indices specifying the elements to extract.
j
Ignored.

Value

A list.

See Also

Extract

Examples

Run this code
## Not run: 
# e <- einfo("pubmed")
# e[1:5]
# e["Description"]
# e[["Links"]]
# 
# e2 <- einfo("pubmed", retmode = 'json')
# e2[["header"]]
# e2[["einforesult"]][["dbinfo"]][["description"]]
# ## End(Not run)

Run the code above in your browser using DataLab